export const widgetDeviceStatistic = {
  code: 'widget-device-statistic',
  type: 'other',
  tabName: '其他',
  label: '设备统计',
  options: {
    // 配置
    setup: {
      layerName: '设备统计',
      backgroundColor: 'rgba(6,25,82,.8)',
      titleColor: '#fff',
      titleFontSize: 16,
      // legendColor: 'rgba(255, 215, 0, 1)',
      legendFontSize: 12,
      legendFontColor: '#fff',
      labelFontColor: '#fff',
      labelFontSize: 12,
      onlineColor: '#00C8DC',
      offlineColor: '#006EFF'
    },
    data: {
      refreshTime: 60000,
      statisticData: [
        {
          deviceState: 1,
          totalCount: 6
        },
        {
          deviceState: 2,
          totalCount: 3
        }
      ]
    },
    position: {
      left: 0,
      top: 0,
      width: 600,
      height: 400
    }
  }
}
